//
//  ObjLoader.h
//  TrackingSim
//
//  Created by Garrett Manka on 1/28/12.
//  Copyright (c) 2012. All rights reserved.
//

#ifndef TrackingSim_ObjLoader_h
#define TrackingSim_ObjLoader_h

#include <string>
#include <vector>
#include <graphics/Object.h>

class Object;

class ObjLoader
{
public:
    
    ObjLoader();
    ~ObjLoader();
    
    void load(const std::string& path);
    
    static void load(const std::string& path, std::vector<Object*>* objects);
    
    std::vector<Object*>& getObjects();
    
    void printLogFile();
    
private:

    std::vector<Object*> m_objects;
    static int s_current_group_id;
};

#endif
